<%@ include file="/taglibs.jsp"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="${js}/jquery-1.6.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" media="screen" href="${css}/screen.css" />
<title></title>
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.STYLE1 {font-size: 12px}
.STYLE4 {
	font-size: 12px;
	color: #1F4A65;
	font-weight: bold;
}

a:link {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;

}
a:visited {
	font-size: 12px;
	color: #06482a;
	text-decoration: none;
}
a:hover {
	font-size: 12px;
	color: #FF0000;
	text-decoration: underline;
}
a:active {
	font-size: 12px;
	color: #FF0000;
	text-decoration: none;
}
.STYLE7 {font-size: 12}

-->
</style>

<script>
  
function payMethod(id,type)
{
	var url;
	if(type == 1)
	{
		url = "${ctx}/totalaccount/addpay?ptype=1";
	}else
	{
		url = "${ctx}/totalaccount/delpay?ptype=0";
	}
	$('#sms-fms').attr('action',url);
	$('#sms-fms').submit();
}

function myAccountLog4j()
{
	$('#sms-fms').attr('action',"${ctx}/accountlog4j/page");
	$('#sms-fms').submit();
}
 
</script>
</head>
<body>
<form id="sms-fms" method="post">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="30"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="15" height="30"><img src="${img}/tab_03.gif" width="15" height="30" /></td>
        <td width="1101" background="${img}/tab_05.gif"><img src="${img}/311.gif" width="16" height="16" /> <span class="STYLE4">${title}</span></td>
        <td width="14"><img src="${img}/tab_07.gif" width="14" height="30" /></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="9" background="${img}/tab_12.gif">&nbsp;</td>
        <td bgcolor="#f3ffe3"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#c0de98" >
          <tr>
            <td width="5%" height="18" background="${img}/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">序号</div></td>
            <td width="10%" height="18" background="${img}/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2 STYLE1">余额</div></td> 
            <td width="7%" height="18" background="${img}/tab_14.gif" class="STYLE1"><div align="center" class="STYLE2">编辑</div></td>
          </tr>
          
           
		 <tr>
            <td height="18" bgcolor="#FFFFFF" class="STYLE2"><div align="center" class="STYLE2 STYLE1">1</div></td>
            <td height="18" bgcolor="#FFFFFF"><div align="center" class="STYLE2 STYLE1">${totalAcct.totalAccount}</div></td>
            <td height="18" bgcolor="#FFFFFF"><div align="center">
            	<span class="STYLE1"> [</span><a href="#" onclick="payMethod('${totalAcct.id}','1');">充值</a><span class="STYLE1">]</span>
            	|<span class="STYLE1"> [</span><a href="#" onclick="payMethod('${totalAcct.id}','0');">扣款</a><span class="STYLE1">]</span>
            	|<span class="STYLE1"> [</span><a href="#" onclick="myAccountLog4j();">账务记录</a><span class="STYLE1">]</span>
            </div></td>
          </tr>
        
          
        </table></td>
        <td width="9" background="${img}/tab_16.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
</form>
</body>
</html>